package cn.whb.hrm.dto;

import cn.whb.hrm.domain.Employee;
import cn.whb.hrm.domain.Tenant;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
public class RegisterDto {

    private Tenant tenant;
    @Valid
    private Employee employee;
    @NotNull(message = "套餐类型未选中，请重新选择")
    private Long mealId;

}
